<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>bar</title>
</head>
<body>
<div id="menubar">
    <div class="header">
        <div class="header-left">
            <a href="index.html" class="logo">
                <img th:src="@{/img/logo.png}" alt="Logo">
                <span style="color: black; font-size: x-large">&nbsp; 中原工学院</span>
            </a>
            <a href="index.html" class="logo logo-small">
                <img th:src="@{/img/logo.png}" alt="Logo">
                <span style="color: black; font-size: x-large">&nbsp; 中原工学院</span>
            </a>
        </div>
        <a class="mobile_btn" id="mobile_btn">
            <i class="fas fa-bars"></i>
        </a>
        <div class="user-menu">
            <button class="btn btn-secondary dropdown-toggle mybutton ser-menu" type="button"
                    id="dropdownMenuButton"
                    data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
                    style="background-color: #f7f7fa;color: black; border: none; margin-top: 10px">
                <i class="fa fa-user fa-fw"></i>admin
            </button>
            <div class="dropdown-menu" aria-labelledby="dropdownMenuButton" style="max-width:100px">
                <a class="dropdown-item" th:href="@{/logout}" href="#">退出</a>
            </div>
        </div>

    </div>
    <div class="sidebar" id="sidebar">
        <div class="sidebar-inner slimscroll">
            <div id="sidebar-menu" class="sidebar-menu">
                <ul>
                    <li th:class="${activeUri1=='首页'?'active':''}" class="active">
                        <a href="index.html" th:href="@{/admin}"><i class="fa fa-home fa-fw"></i> <span>首页</span></a>
                    </li>
                    <li th:class="${activeUri1=='公告列表'?'active':''}" class="submenu">
                        <a href="#" th:href="@{/admin/notice}"><i class="fa fa-bullhorn fa-fw"></i>
                            <span> 公告列表</span>
                        </a>
                    </li>
                    <li th:class="${activeUri1=='课程管理'?'submenu active':'submenu'}" class="submenu">
                        <a href="#"><i class="fas fa-book-reader"></i> <span> 课程管理</span> <span
                                class="menu-arrow"></span></a>
                        <ul>
                            <li><a th:class="${activeUri2=='课程列表'?'active':''}" href="subjects.html"
                                   th:href="@{/admin/course/list}">课程列表</a></li>
                            <li><a th:class="${activeUri2=='课程选报详情'?'active':''}" href="#"
                                   th:href="@{/admin/course/selectcourse}">课程选报详情</a>
                            </li>
                        </ul>
                    </li>
                    <li th:class="${activeUri1=='学生管理'?'submenu active':'submenu'}" class="submenu">
                        <a href="#"><i class="fas fa-user-graduate"></i> <span> 学生管理</span> <span
                                class="menu-arrow"></span></a>
                        <ul>
                            <li><a th:class="${activeUri2=='学生列表'?'active':''}" href="students.html"
                                   th:href="@{/admin/student/list}">学生列表</a></li>
                            <li><a th:class="${activeUri2=='学生选课详情'?'active':''}" href="#"
                                   th:href="@{/admin/student/selectcourse}">学生选课详情</a>
                            </li>
                        </ul>
                    </li>
                    <li th:class="${activeUri1=='教师管理'?'submenu active':'submenu'}" class="submenu">
                        <a href="#"><i class="fas fa-chalkboard-teacher"></i> <span> 教师管理</span> <span
                                class="menu-arrow"></span></a>
                        <ul>
                            <li><a th:class="${activeUri2=='教师列表'?'active':''}" href="teachers.html"
                                   th:href="@{/admin/teacher/list}">教师列表</a></li>
                        </ul>
                    </li>

                    <li th:class="${activeUri1=='班级管理'?'submenu active':'submenu'}" class="submenu">
                        <a href="#"><i class="fas fa-building"></i> <span> 班级管理</span> <span
                                class="menu-arrow"></span></a>
                        <ul>
                            <li><a th:class="${activeUri2=='班级列表'?'active':''}" href="departments.html"
                                   th:href="@{/admin/class/list}">班级列表</a>
                            </li>
                        </ul>
                    </li>
                    <li th:class="${activeUri1=='帮助文档'?'submenu active':'submenu'}" class="submenu">
                        <a href="#"><i class="fa fa-book fa-fw"></i> <span> 帮助文档</span>
                            <span class="menu-arrow"></span></a>
                        <ul>
                            <li><a th:class="${activeUri2=='导入课程'?'active':''}" th:href="@{/admin/help/course}"
                                   href="help/course.html">导入课程</a>
                            </li>
                            <li><a th:class="${activeUri2=='导入学生'?'active':''}" th:href="@{/admin/help/student}"
                                   href="help/student.html">导入学生</a>
                            </li>
                            <li><a th:class="${activeUri2=='导入教师'?'active':''}" th:href="@{/admin/help/teacher}"
                                   href="help/teacher.html">导入教师</a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div id="studentmenubar">
    <div class="header">
        <div class="header-left">
            <a href="index.html" class="logo">
                <img th:src="@{/img/logo.png}" alt="Logo">
                <span style="color: black; font-size: x-large">&nbsp; 中原工学院</span>
            </a>
            <a href="index.html" class="logo logo-small">
                <img th:src="@{/img/logo.png}" alt="Logo">
                <span style="color: black; font-size: x-large">&nbsp; 中原工学院</span>
            </a>
        </div>
        <a class="mobile_btn" id="mobile_btn">
            <i class="fas fa-bars"></i>
        </a>
        <div class="user-menu">
            <button class="btn btn-secondary dropdown-toggle mybutton ser-menu" type="button"
                    id="dropdownMenuButton"
                    data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
                    style="background-color: #f7f7fa;color: black; border: none; margin-top: 10px">
                <i class="fa fa-user fa-fw"></i><span th:text="${session.name}"></span>
            </button>
            <div class="dropdown-menu" aria-labelledby="dropdownMenuButton" align="center" style="max-width:100px">
                <a class="dropdown-item" th:href="@{/student}" href="#"><i class="fa fa-home fa-fw"></i> 首页</a>
                <a class="dropdown-item" th:href="@{/student/info}" href="#"><i class="fa fa-user fa-fw"></i> 个人信息</a>
                <a class="dropdown-item" th:href="@{/logout}" href="#"><i class="fa fa-sign-out fa-fw"></i> 退出</a>
            </div>
        </div>

    </div>
    <div class="sidebar" id="sidebar">
        <div class="sidebar-inner slimscroll">
            <div id="sidebar-menu" class="sidebar-menu">
                <ul>
                    <li th:class="${activeUri1=='首页'?'active':''}" class="active">
                        <a href="index.html" th:href="@{/student}"><i class="fa fa-home fa-fw"></i> <span>首页</span></a>
                    </li>
                    <li th:class="${activeUri1=='公告列表'?'active':''}" class="submenu">
                        <a href="#" th:href="@{/student/notice}"><i class="fa fa-bullhorn fa-fw"></i>
                            <span> 公告列表</span>
                        </a>
                    </li>
                    <li th:class="${activeUri1=='选报课程'?'active':''}" class="submenu">
                        <a th:href="@{/student/course/list}"><i class="fas fa-book"></i> <span> 选报课程</span></a>
                    </li>
                    <li th:class="${activeUri1=='已选课程'?'active':''}" class="submenu">
                        <a th:href="@{/student/course/selectcourse}"><i class="fas fa-book-reader"></i>
                            <span> 已选课程</span></a>
                    </li>
                    <li th:class="${activeUri1=='成绩查询'?'active':''}" class="submenu">
                        <a href="#" th:href="@{/student/score}"><i class="fa fa-user-graduate fa-fw"></i>
                            <span> 成绩查询</span>
                        </a>
                    </li>
                    <li th:class="${activeUri1=='个人信息'?'active':''}" class="submenu">
                        <a href="#" th:href="@{/student/info}"><i class="fa fa-user fa-fw"></i>
                            <span> 个人信息</span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div id="teachermenubar">
    <div class="header">
        <div class="header-left">
            <a href="index.html" class="logo">
                <img th:src="@{/img/logo.png}" alt="Logo">
                <span style="color: black; font-size: x-large">&nbsp; 中原工学院</span>
            </a>
            <a href="index.html" class="logo logo-small">
                <img th:src="@{/img/logo.png}" alt="Logo">
                <span style="color: black; font-size: x-large">&nbsp; 中原工学院</span>
            </a>
        </div>
        <a class="mobile_btn" id="mobile_btn">
            <i class="fas fa-bars"></i>
        </a>
        <div class="user-menu">
            <button class="btn btn-secondary dropdown-toggle mybutton ser-menu" type="button"
                    id="dropdownMenuButton"
                    data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
                    style="background-color: #f7f7fa;color: black; border: none; margin-top: 10px">
                <i class="fa fa-user fa-fw"></i><span th:text="${session.name}"></span>
            </button>
            <div class="dropdown-menu" aria-labelledby="dropdownMenuButton" align="center" style="max-width:100px">
                <a class="dropdown-item" th:href="@{/teacher}" href="#"><i class="fa fa-home fa-fw"></i> 首页</a>
                <a class="dropdown-item" th:href="@{/teacher/info}" href="#"><i class="fa fa-user fa-fw"></i> 个人信息</a>
                <a class="dropdown-item" th:href="@{/logout}" href="#"><i class="fa fa-sign-out fa-fw"></i> 退出</a>
            </div>
        </div>

    </div>
    <div class="sidebar" id="sidebar">
        <div class="sidebar-inner slimscroll">
            <div id="sidebar-menu" class="sidebar-menu">
                <ul>
                    <li th:class="${activeUri1=='首页'?'active':''}" class="active">
                        <a href="index.html" th:href="@{/teacher}"><i class="fa fa-home fa-fw"></i> <span>首页</span></a>
                    </li>
                    <li th:class="${activeUri1=='公告列表'?'active':''}" class="submenu">
                        <a href="#" th:href="@{/teacher/notice}"><i class="fa fa-bullhorn fa-fw"></i>
                            <span> 公告列表</span>
                        </a>
                    </li>
                    <li th:class="${activeUri1=='课程信息'?'active':''}" class="submenu">
                        <a th:href="@{/teacher/course}"><i class="fas fa-book"></i> <span> 课程信息</span></a>
                    </li>
                    <li th:class="${activeUri1=='成绩录入'?'active':''}" class="submenu">
                        <a href="#" th:href="@{/teacher/score}"><i class="fa fa-user-graduate fa-fw"></i>
                            <span> 成绩录入</span>
                        </a>
                    </li>
                    <li th:class="${activeUri1=='个人信息'?'active':''}" class="submenu">
                        <a href="#" th:href="@{/teacher/info}"><i class="fa fa-user fa-fw"></i>
                            <span> 个人信息</span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
</body>
</html>
